package com.h5lib.nchuoffice.constants;

/**
 * 常量
 * @author farmer
 *
 */
public class SysConstant {
	
	/**
	 * 官网首页
	 * */
	public final static String HOME_URL = "http://www.nchu.edu.cn/";
	
	/**
	 * 登录校验URL
	 */
	public final static String JWC_LOGIN_CHECK_URL = "http://jwc.nchu.edu.cn/teachweb/Login.aspx";
	
	/**
	 * 成绩查询
	 */
	public final static String JWC_STUDENTGRADE_ACTION_URL = "http://jwc.nchu.edu.cn/teachweb/cjcx/StudentGrade.aspx";
	
	/**
	 * 班级查询课程表
	 */
	public final static String QUERY_LESSON_BY_CLASS_URL = "http://jwc.nchu.edu.cn/teachweb/kbcx/QueryLessonInfomation.aspx";
	
	/**
	 * 角色列表
	 */
	public final static String[] ROLES = {"role1"};
	
	/**
	 * 1分钟超时
	 */
	public final static int TIMEOUT = 60000;
	
	/**
	 * USER_AGENT
	 */
	public final static String USER_AGENT = "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0";
	
	/**
	 * REFERER 
	 */
	public final static String REFERER = "http://jwc.nchu.edu.cn/teachweb/PreLogin.aspx";
	
	/**
	 * HOST
	 */
	public final static String HOST = "jwc.nchu.edu.cn";
	
	/**
	 * 数据库异常
	 */
	public final static String SQLEXCEPTION = "System.Data.SqlClient.SqlException";
	
	
}
